public class TestDivide {
    public static void main(String[] args) {
//        System.out.println(2/0);编译通过，当运行时会报错
        System.out.println(8.0/2.4);
        System.out.println(8.0/0.0);//Infinity 无穷
    }
}
